﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JzSport.Model
{
    /// <summary>
    /// 账户信息
    /// </summary>
    public class Account
    {
        /// <summary>
        /// 账户编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 账户名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string ThirdPartyType { get; set; }

        /// <summary>
        /// 第三方账号
        /// </summary>
        public string ThirdPartyAccount { get; set; }

        /// <summary>
        /// 电话信息
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 账户是否被锁定
        /// </summary>
        public bool IsLocked { get; set; }

        /// <summary>
        /// 解锁时间，如果被锁定了这个时间就是解锁的时限
        /// </summary>
        public Nullable<DateTime> UnlockTime { get; set; }

        /// <summary>
        /// 性别
        /// 1男性，2女性
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 头像图片
        /// </summary>
        public string AvatarUrl { get; set; }

        public string NickName { get; set; }

        /// <summary>
        /// 籍贯城市
        /// </summary>
        public string City { get; set; }
    }
}
